package com.un.ebs.purchase.domain;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (PurchaseInNoteExt)表实体类
 *
 * @author liubo
 * @since 2021-01-08 09:53:58
 */
@Data
@Component
@TableName("v_purchase_in_note_ext")
@SuppressWarnings("serial")
public class PurchaseInNoteExt extends Model<PurchaseInNoteExt> {

                
    @DbField(name = "note_id",  length = 40 , precision = 0)
    private String noteId;
                
    @DbField(name = "code",  length = 100 , precision = 0)
    private String code;
                
    @DbField(name = "order_code",  length = 50 , precision = 0)
    private String orderCode;
                
    @DbField(name = "account_year",  length = -1 , precision = 0)
    private Integer accountYear;
                
    @DbField(name = "account_month",  length = -1 , precision = 0)
    private Integer accountMonth;
                
    @DbField(name = "account_date",  length = -1 , precision = 0)
    private Date accountDate;
                
    @DbField(name = "sum_qty",  length = 38 , precision = 4)
    private Double sumQty;
                
    @DbField(name = "cost_money",  length = 38 , precision = 10)
    private Double costMoney;
                
    @DbField(name = "tenant_id",  length = 40 , precision = 0)
    private String tenantId;
                
    @DbField(name = "contract_code",  length = 50 , precision = 0)
    private String contractCode;
                
    @DbField(name = "supplier_ent_id",  length = 40 , precision = 0)
    private String supplierEntId;
                
    @DbField(name = "supplier_ent_name",  length = 100 , precision = 0)
    private String supplierEntName;
                
    @DbField(name = "supplier_ent_code",  length = -1 , precision = 0)
    private Integer supplierEntCode;
                
    @DbField(name = "submit_status",  length = -1 , precision = 0)
    private Boolean submitStatus;
                
    @DbField(name = "audit_status",  length = -1 , precision = 0)
    private Boolean auditStatus;
                
    @DbField(name = "invoice_note_id",  length = 40 , precision = 0)
    private String invoiceNoteId;


}